package org.dromara.apartment.domain.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import org.dromara.apartment.domain.RoomInfo;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

import java.util.List;

/**
 * 房间信息业务对象 room_info
 *
 * @author ckj
 * @date 2025-06-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = RoomInfo.class, reverseConvertGenerate = false)
public class RoomInfoBo extends BaseEntity {

    /**
     * 房间id
     */
    @NotNull(message = "房间id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 所属公寓id
     */
    private Long apartmentId;

    /**
     * 房间号
     */
    private String roomNumber;

    /**
     * 房间名称
     */
    private String roomName;

    /**
     * 租金（元/月）
     */
    private Integer rent;

    /**
     * 是否发布
     */
    private Boolean isRelease;

    /**
     * 是否入住
     */
    private Boolean isUsed;

    /**
     * 是否推荐
     */
    private Boolean isRecommend;

    /**
     * 轮播图
     */
    private String thumbnail;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 房间轮播图片id
     */
    private String graphBoList;

    /**
     * 属性信息列表
     */
    private List<Long> attrValueIds;

    /**
     * 配套信息列表
     */
    private List<Long> facilityInfoIds;

    /**
     * 标签信息列表
     */
    private List<Long> labelInfoIds;

    /**
     * 支付方式列表
     */
    private List<Long> paymentTypeIds;

    /**
     * 是否删除
     */
    private Boolean delFlag;


}
